package cate.common.table.show.heroskin.sheet;

import cate.common.table.ESheet;
import cate.common.table.show.heroskin.row.HeroSkinScoreRow;

import java.util.List;
import java.util.stream.Collectors;

public class HeroSkinScoreSheet extends ESheet<HeroSkinScoreRow> {
    @Override
    public String getSheetName() {
        return "时装收藏";
    }

    public List<String> getLevelRow(int level) {
        return getList().stream().filter(e -> e.level <= level).map(e -> e.attrStr).collect(Collectors.toList());
    }
}
